T
Collection item type.
Platform Core .NET Assemblies API
ParallelForEachAsync<T>(IEnumerable<T>,Func<T,Task>) Method
See Also  Send Feedback
Terrasoft.Common Namespace > CollectionUtilities Class > ParallelForEachAsync Method : ParallelForEachAsync<T>(IEnumerable<T>,Func<T,Task>) Method
source
Items collection.
action
Asynchronous action to invoke on each item.

Glossary Item Box

Invokes asynchronous action for each item in collection in parallel.

Syntax

 
C#
 
 

Parameters

source
Items collection.
action
Asynchronous action to invoke on each item.

Type Parameters

T
Collection item type.

Return Value

Task that represents asynchronous operation.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.